package com.wjw.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 订单项表
 * @author Administrator
 *
 */
@TableName(value="orders_item")
public class OrderItem implements Serializable{

	/**
	 * 
	 */
	@TableField(exist=false)
	private static final long serialVersionUID = 8L;
	//主键
	@TableId(type = IdType.AUTO)
	private Integer itemId;
	private Integer count;
	private Double subtotal;
	private Integer gid;
	private Integer oid;
	public Integer getItemId() {
		return itemId;
	}
	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Double getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(Double subtotal) {
		this.subtotal = subtotal;
	}
	public Integer getGid() {
		return gid;
	}
	public void setGid(Integer gid) {
		this.gid = gid;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}

}
